github.com/gotd/td/internal/crypto.Cipher.encryptSide (field)

7 uses

	github.com/gotd/td/internal/crypto (current package)
		cipher.go#L8: 	encryptSide Side
		cipher.go#L18: 	return Cipher{rand: rand, encryptSide: Client}
		cipher.go#L23: 	return Cipher{rand: rand, encryptSide: Server}
		cipher_decrypt.go#L32: 	side := c.encryptSide.DecryptSide()
		cipher_decrypt.go#L74: 	key, iv := Keys(k.Value, encrypted.MsgKey, c.encryptSide.DecryptSide())
		cipher_encrypt.go#L22: 	messageKey := MessageKey(k.Value, plaintext.Buf, c.encryptSide)
		cipher_encrypt.go#L23: 	key, iv := Keys(k.Value, messageKey, c.encryptSide)